package oop.pat;

public class Test {

    public static void main(String[] args) {
        //类的super与this比较
        //Teacher teacher = new Teacher();
        //teacher.out("Lby");
        //teacher.test();

        //方法的调用只与左边的，定义数据类型有关
        A a = new A();
        a.test();

        B b = new A();
        b.test();
    }
}
